<template>
  <view class="commnav">
    <text class="text">
      {{text}}
    </text>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    props: {
      text: {
        type: String,
      }
    },
    methods: {

    }
  }
</script>

<style lang="scss">
  .commnav {
    width: 100%;
    text-align: center;
    padding: 20rpx 0;
    background-color: #4D4D4D;
    .text {
      color: #fff;
      font-size: 26rpx;

    }
  }
</style>
